import Mock from 'mockjs';

const List: any[] = [];
const count: any = 320;
const groupList: any[] = [];
const gcount = 10;
for (let i = 0; i < count; i++) {
  List.push(
    Mock.mock({
      id: '@increment',
      name: '@title(1, 10)',
      mac: /[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}/,
      ip: '@ip',
      status: '@integer(0, 2)',
      device: '@title(5, 10)',
      version: '@title(5, 10)',
      radio: '@integer(0, 2)',
      ssid: ['2.4G:ashash,128761827912,1298719279182,1297192', '5G:ajkshkash'],
      channel: ['2.4G:抗干扰模式', '5G:节能模式'],
      band: '@integer(10, 200)',
      bssid:
        /[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}/,
      stas: '@integer(1, 20)',
      login: '@integer(100, 2000000)',
      upSpeed: '@integer(100, 2000)',
      downSpeed: '@integer(10, 200)',
      up: '@integer(100, 2000)',
      down: '@integer(10, 200)',
      groupId: '@integer(1, 200)',
      groupName: '@title(1, 8)',
      Id: 2,
    }),
  );
}

for (let i = 0; i < gcount; i++) {
  groupList.push(
    Mock.mock({
      id: '@increment',
      name: '@first',
      mac: /[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}/,
      ip: '@ip',
      status: '@integer(0, 2)',
      device: '@title(5, 10)',
      version: '@title(5, 10)',
      radio: '@integer(0, 2)',
      ssid: ['2.4G:ashash,128761827912,1298719279182,1297192', '5G:ajkshkash'],
      channel: ['2.4G:自动'],
      band: '@integer(10, 200)',
      bssid:
        /[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}:[A-Fa-f0-9]{2}/,
      stas: '@integer(1, 20)',
      login: '@integer(100, 2000000)',
      up_speed: '@integer(100, 2000)',
      down_speed: '@integer(10, 200)',
      up: '@integer(100, 2000)',
      down: '@integer(10, 200)',
      groupId: '@integer(1, 200)',
      groupName: '@title(1, 8)',
      Id: 2,
    }),
  );
}

export default [
  {
    url: '/dashboard/urlfilter',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: 'url过滤',
            data: [
              {
                name: '恶意网站',
                value: 100,
              },
              {
                name: '行业分类',
                value: 60,
              },
              {
                name: '大众兴趣',
                value: 60,
              },
              {
                name: 'URL黑名单',
                value: 30,
              },
              {
                name: '潜在带宽浪费',
                value: 70,
              },
              {
                name: '时评分类',
                value: 10,
              },
              {
                name: '计算机相关',
                value: 90,
              },
              {
                name: '其他分类',
                value: 130,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/platformLayout/query',
    type: 'get',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            x: 1,
            y: 1,
            sizex: 22,
            sizey: 1,
            name: '防御统计',
            dataSourceType: 1,
            chartType: 0,
            borderType: 3,
            backgroundColor: '',
            titleType: -1,
            themeType: 0,
            moreType: -1,
          },
          {
            x: 17,
            y: 2,
            sizex: 6,
            sizey: 2,
            dataSourceType: 6,
            chartType: 9,
            borderType: 14,
            backgroundColor: '',
            type: 2,
            titleType: 0,
            themeType: 0,
            name: '病毒统计',
          },
          {
            x: 1,
            y: 2,
            sizex: 6,
            sizey: 2,
            name: '攻击检测',
            dataSourceType: 2,
            chartType: 0,
            borderType: 14,
            backgroundColor: '',
            themeType: 0,
            titleType: 0,
          },
          {
            x: 7,
            y: 2,
            sizex: 10,
            sizey: 6,
            dataSourceType: 10,
            chartType: 0,
            borderType: 14,
            backgroundColor: '',
            type: 2,
            titleType: 0,
            themeType: 0,
            name: '实时监测',
          },
          {
            x: 17,
            y: 4,
            sizex: 6,
            sizey: 2,
            dataSourceType: 7,
            chartType: 0,
            borderType: 14,
            backgroundColor: '',
            type: 2,
            titleType: 0,
            themeType: 0,
            name: 'URL过滤',
          },
          {
            x: 1,
            y: 4,
            sizex: 6,
            sizey: 2,
            name: 'CC攻击',
            dataSourceType: 11,
            chartType: 0,
            borderType: 14,
            backgroundColor: '',
            themeType: 0,
            titleType: 0,
          },
          {
            x: 1,
            y: 6,
            sizex: 6,
            sizey: 2,
            dataSourceType: 4,
            chartType: 0,
            borderType: 14,
            backgroundColor: '',
            type: 2,
            titleType: 0,
            themeType: 3,
            name: '抗DDOS',
          },
          {
            x: 17,
            y: 6,
            sizex: 6,
            sizey: 2,
            dataSourceType: 8,
            chartType: 0,
            borderType: 14,
            backgroundColor: '',
            type: 2,
            titleType: 0,
            themeType: 0,
            name: '僵尸主机',
          },
          {
            x: 1,
            y: 8,
            sizex: 11,
            sizey: 3,
            dataSourceType: 5,
            chartType: 8,
            borderType: 14,
            backgroundColor: '',
            type: 2,
            titleType: 0,
            themeType: 0,
            name: '流量分析',
          },
          {
            x: 12,
            y: 8,
            sizex: 11,
            sizey: 3,
            dataSourceType: 9,
            chartType: 0,
            borderType: 14,
            backgroundColor: '',
            type: 2,
            titleType: 0,
            themeType: 0,
            name: '当前连接',
          },
        ],
      };
    },
  },
  {
    url: '/platformModel/list',
    type: 'get',
    response: () => {
      // const { type } = .query
      const dataArr = [
        {
          name: '防御概况统计',
          url: '/dashboard/eventOverallAnalyze/totalOverall',
          method: 'get',
          dataSourceType: 1,
          type: 2,
        },
        {
          name: '攻击检测',
          url: '/dashboard/attackDetectionAnalyze/overall',
          method: 'get',
          dataSourceType: 2,
          type: 2,
        },
        {
          name: '应用统计',
          url: '/dashboard/appCount',
          method: 'get',
          dataSourceType: 3,
          type: 2,
        },
        {
          name: '抗DDOS',
          url: '/dashboard/ddos',
          method: 'get',
          dataSourceType: 4,
          type: 2,
        },
        {
          name: '流量分析',
          url: '/dashboard/flowAnalyze/overall',
          method: 'get',
          dataSourceType: 5,
          type: 2,
        },
        {
          name: '病毒统计',
          url: '/dashboard/virus',
          method: 'get',
          dataSourceType: 6,
          type: 2,
        },
        {
          name: 'URL过滤',
          url: '/dashboard/urlfilter',
          method: 'get',
          dataSourceType: 7,
          type: 2,
        },
        {
          name: '僵尸主机',
          url: '/dashboard/zombieHostAnalyze/overall',
          method: 'get',
          dataSourceType: 8,
          type: 2,
        },
        {
          name: '当前连接',
          url: '/infoLinkNum/getTop10',
          method: 'get',
          dataSourceType: 9,
          type: 2,
        },
        {
          name: '实时监测',
          url: '/dashboard/eventOverallAnalyze/realTimeList?type=1',
          method: 'get',
          dataSourceType: 10,
          type: 2,
        },
        {
          name: 'CC攻击',
          url: '/dashboard/ccAttack',
          method: 'get',
          dataSourceType: 11,
          type: 2,
        },
      ];
      return {
        code: 1,
        msg: '操作成功',
        data: dataArr,
      };
    },
  },
  {
    url: '/infoLinkNum/getTop10',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          total: 10,
          items: [
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '67.171.53.109',
              type: 3,
              connectNum: 180,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 3,
              connectNum: 170,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 5,
              connectNum: 140,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 3,
              connectNum: 130,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 3,
              connectNum: 110,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 3,
              connectNum: 90,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 3,
              connectNum: 80,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 3,
              connectNum: 60,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 3,
              connectNum: 56,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 3,
              connectNum: 46,
            },
            {
              recordTime: '25978000',
              dstIp: '1.3.62.1',
              srcIp: '17.171.53.109',
              type: 3,
              connectNum: 30,
            },
          ],
        },
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/overall',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          total: 1,
          highCount: 1,
          middleCount: 0,
          lowCount: 0,
          legends: [
            {
              legend: '攻击检测',
              data: [
                {
                  name: '攻击类型服务',
                  value: 50,
                },
                {
                  name: '代码执行',
                  value: 43,
                },
                {
                  name: '溢出攻击',
                  value: 21,
                },
                {
                  name: '注入攻击',
                  value: 62,
                },
                {
                  name: '其他',
                  value: 50,
                },
              ],
            },
          ],
        },
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/statisticRuleType',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '攻击检测',
            data: [
              {
                name: '攻击类型服务',
                value: 50,
              },
              {
                name: '代码执行',
                value: 43,
              },
              {
                name: '溢出攻击',
                value: 21,
              },
              {
                name: '注入攻击',
                value: 62,
              },
              {
                name: '其他',
                value: 50,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/statisticTrend',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '攻击趋势',
            data: [
              {
                name: '12:00',
                value: 10,
              },
              {
                name: '14:00',
                value: 60,
              },
              {
                name: '16:00',
                value: 40,
              },
              {
                name: '18:00',
                value: 60,
              },
              {
                name: '20:00',
                value: 70,
              },
              {
                name: '22:00',
                value: 78,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/beAttackedHostRankList',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            isOuterIp: 1,
            regionId: 510000,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            hostIp: '119.4.125.138',
            eventCount: 1,
          },
          {
            isOuterIp: 0,
            regionId: null,
            regionName: null,
            longitude: null,
            latitude: null,
            hostIp: '10.10.10.1',
            eventCount: 1,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/attackedHostEventList',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            ruleId: 1,
            level: 1,
            eventCount: 1,
            description: 'nasifasfmgaoama',
          },
          {
            ruleId: 1,
            level: 1,
            eventCount: 1,
            description: 'nasifasfmgaoama',
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/attackedHostRankList',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            isOuterIp: 1,
            regionId: 510000,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            hostIp: '119.4.125.138',
            eventCount: 1,
          },
          {
            isOuterIp: 0,
            regionId: null,
            regionName: null,
            longitude: null,
            latitude: null,
            hostIp: '10.10.10.1',
            eventCount: 1,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/beAttackedHostEventList',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            ruleId: 1,
            level: 1,
            eventCount: 1,
            description: 'nasifasfmgaoama',
          },
          {
            ruleId: 1,
            level: 1,
            eventCount: 1,
            description: 'nasifasfmgaoama',
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/attackRank',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',

        data: [
          {
            ruleId: 1,
            level: 2,
            eventCount: 2,
            description: 'idjasidaisdnai',
          },
          {
            ruleId: 2,
            level: 1,
            eventCount: 3,
            description: 'idjasidaisdnai',
          },
          {
            ruleId: 1,
            level: 2,
            eventCount: 12,
            description: 'idjasidaisdnai',
          },
          {
            ruleId: 1,
            level: 2,
            eventCount: 332,
            description: 'idjasidaisdnai',
          },
          {
            ruleId: 1,
            level: 2,
            eventCount: 42,
            description: 'idjasidaisdnai',
          },
          {
            ruleId: 1,
            level: 2,
            eventCount: 29,
            description: 'idjasidaisdnai',
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/flowAnalyze/overall',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '流进',
            data: [
              {
                name: '12:00',
                value: 10,
              },
              {
                name: '14:00',
                value: 60,
              },
              {
                name: '16:00',
                value: 40,
              },
              {
                name: '18:00',
                value: 60,
              },
              {
                name: '20:00',
                value: 70,
              },
              {
                name: '22:00',
                value: 78,
              },
            ],
          },
          {
            legend: '流出',
            data: [
              {
                name: '12:00',
                value: 50,
              },
              {
                name: '14:00',
                value: 30,
              },
              {
                name: '16:00',
                value: 80,
              },
              {
                name: '18:00',
                value: 30,
              },
              {
                name: '20:00',
                value: 60,
              },
              {
                name: '22:00',
                value: 28,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/flowAnalyze/overview',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          inPktRate: 0,
          outPktRate: 0,
          inByteRate: 2912,
          outByteRate: 0,
        },
      };
    },
  },
  {
    url: '/dashboard/flowAnalyze/protocolDistributed',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '接收报文协议分布',
            data: [
              {
                name: 'TCP',
                value: 33.33,
              },
              {
                name: 'UDP',
                value: 33.33,
              },
              {
                name: 'ICMP',
                value: 33.34,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/flowAnalyze/ipDistributed',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '接收网络层协议分布',
            data: [
              {
                name: 'ipv4',
                value: 90.6,
              },
              {
                name: 'ipv6',
                value: 9.4,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/flowAnalyze/pktSizeDistributed',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '接收报文字节大小分布',
            data: [
              {
                name: '0-64',
                value: 16.67,
              },
              {
                name: '65-128',
                value: 16.67,
              },
              {
                name: '129-512',
                value: 16.67,
              },
              {
                name: '513-1024',
                value: 16.67,
              },
              {
                name: '1025-1500',
                value: 16.67,
              },
              {
                name: '1500+',
                value: 16.65,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/flowAnalyze/inOutFlowStatistic',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '流进流量',
            data: [
              {
                name: '0:00',
                value: 480,
              },
              {
                name: '1:00',
                value: 78,
              },
              {
                name: '2:00',
                value: 9,
              },
              {
                name: '3:00',
                value: 23,
              },
              {
                name: '4:00',
                value: 480,
              },
              {
                name: '5:00',
                value: 566,
              },
              {
                name: '6:00',
                value: 300,
              },
              {
                name: '7:00',
                value: 200,
              },
              {
                name: '8:00',
                value: 501,
              },
              {
                name: '9:00',
                value: 529,
              },
              {
                name: '10:00',
                value: 129,
              },
              {
                name: '11:00',
                value: 265,
              },
              {
                name: '12:00',
                value: 0,
              },
            ],
          },
          {
            legend: '流出流量',
            data: [
              {
                name: '0:00',
                value: 100,
              },
              {
                name: '1:00',
                value: 450,
              },
              {
                name: '2:00',
                value: 280,
              },
              {
                name: '3:00',
                value: 300,
              },
              {
                name: '4:00',
                value: 380,
              },
              {
                name: '5:00',
                value: 180,
              },
              {
                name: '6:00',
                value: 880,
              },
              {
                name: '7:00',
                value: 680,
              },
              {
                name: '8:00',
                value: 457,
              },
              {
                name: '9:00',
                value: 529,
              },
              {
                name: '10:00',
                value: 156,
              },
              {
                name: '11:00',
                value: 265,
              },
              {
                name: '12:00',
                value: 211,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/flowAnalyze/protocolDistributed',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '接收报文协议分布',
            data: [
              {
                name: 'TCP',
                value: 33.33,
              },
              {
                name: 'UDP',
                value: 33.33,
              },
              {
                name: 'ICMP',
                value: 33.34,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/flowAnalyze/pktSpeedTrend',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: 'fth0',
            data: [
              {
                name: '0:00',
                value: 22480,
              },
              {
                name: '1:00',
                value: 2222278,
              },
              {
                name: '2:00',
                value: 22229,
              },
              {
                name: '3:00',
                value: 22223,
              },
              {
                name: '4:00',
                value: 2480,
              },
              {
                name: '5:00',
                value: 12566,
              },
              {
                name: '6:00',
                value: 32200,
              },
              {
                name: '7:00',
                value: 11120,
              },
              {
                name: '8:00',
                value: 11501,
              },
              {
                name: '9:00',
                value: 12529,
              },
              {
                name: '10:00',
                value: 2129,
              },
              {
                name: '11:00',
                value: 265122,
              },
              {
                name: '12:00',
                value: 120,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/flowAnalyze/top10PcFlow',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: 'fth0',
            data: [
              {
                name: '127.0.0.1',
                value: 22480,
              },
              {
                name: '138.0.0.1',
                value: 2222278,
              },
              {
                name: '138.0.0.1',
                value: 22229,
              },
              {
                name: '118.0.0.1',
                value: 22223,
              },
              {
                name: '128.0.0.1',
                value: 2480,
              },
              {
                name: '139.0.0.1',
                value: 12566,
              },
              {
                name: '132.0.0.1',
                value: 32200,
              },
              {
                name: '131.0.0.1',
                value: 11120,
              },
              {
                name: '38.1.0.1',
                value: 11501,
              },
              {
                name: '238.10.0.1',
                value: 12529,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/eventOverallAnalyze/totalOverall',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          attackCount: 12,
          zombieCount: 100,
          arpCount: 23,
          ccCount: 222290,
          hostCount: 0,
          ddosCount: 34,
          urlCount: 11123,
          virusCount: 111,
          threatCount: 222,
          sanBoxieCount: 333,
          escapeCount: 555,
        },
      };
    },
  },
  {
    url: '/dashboard/ddos',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '请求',
            data: [
              {
                name: '12:00',
                value: 50,
              },
              {
                name: '14:00',
                value: 30,
              },
              {
                name: '16:00',
                value: 80,
              },
              {
                name: '18:00',
                value: 30,
              },
              {
                name: '20:00',
                value: 60,
              },
              {
                name: '22:00',
                value: 28,
              },
            ],
          },
          {
            legend: '拦截',
            data: [
              {
                name: '12:00',
                value: 10,
              },
              {
                name: '14:00',
                value: 39,
              },
              {
                name: '16:00',
                value: 40,
              },
              {
                name: '18:00',
                value: 50,
              },
              {
                name: '20:00',
                value: 20,
              },
              {
                name: '22:00',
                value: 86,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/ccAttack',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '总QPS',
            data: [
              {
                name: '0:00',
                value: 480,
              },
              {
                name: '1:00',
                value: 78,
              },
              {
                name: '2:00',
                value: 9,
              },
              {
                name: '3:00',
                value: 23,
              },
              {
                name: '4:00',
                value: 480,
              },
              {
                name: '5:00',
                value: 566,
              },
              {
                name: '6:00',
                value: 300,
              },
              {
                name: '7:00',
                value: 200,
              },
              {
                name: '8:00',
                value: 501,
              },
              {
                name: '9:00',
                value: 529,
              },
              {
                name: '10:00',
                value: 129,
              },
              {
                name: '11:00',
                value: 265,
              },
              {
                name: '12:00',
                value: 0,
              },
            ],
          },
          {
            legend: '攻击QPS',
            data: [
              {
                name: '0:00',
                value: 100,
              },
              {
                name: '1:00',
                value: 450,
              },
              {
                name: '2:00',
                value: 280,
              },
              {
                name: '3:00',
                value: 300,
              },
              {
                name: '4:00',
                value: 380,
              },
              {
                name: '5:00',
                value: 180,
              },
              {
                name: '6:00',
                value: 880,
              },
              {
                name: '7:00',
                value: 680,
              },
              {
                name: '8:00',
                value: 457,
              },
              {
                name: '9:00',
                value: 529,
              },
              {
                name: '10:00',
                value: 156,
              },
              {
                name: '11:00',
                value: 265,
              },
              {
                name: '12:00',
                value: 211,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/virus',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '病毒统计分布',
            data: [
              {
                name: '0:00',
                value: 480,
              },
              {
                name: '1:00',
                value: 480,
              },
              {
                name: '2:00',
                value: 480,
              },
              {
                name: '3:00',
                value: 480,
              },
              {
                name: '4:00',
                value: 480,
              },
              {
                name: '5:00',
                value: 480,
              },
              {
                name: '6:00',
                value: 480,
              },
              {
                name: '7:00',
                value: 480,
              },
              {
                name: '8:00',
                value: 501,
              },
              {
                name: '9:00',
                value: 529,
              },
              {
                name: '10:00',
                value: 129,
              },
              {
                name: '11:00',
                value: 265,
              },
              {
                name: '12:00',
                value: 0,
              },
              {
                name: '13:00',
                value: 0,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/platformPage/alarmTypeTop',
    type: 'get',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '应用统计',
            data: [
              {
                name: '防病毒-A',
                value: 32,
              },
              {
                name: '智能网关-123',
                value: 7,
              },
              {
                name: 'IPS-12',
                value: 7,
              },
              {
                name: '防1',
                value: 32,
              },
              {
                name: '1-123',
                value: 7,
              },
              {
                name: '2121-12',
                value: 71,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/eventOverallAnalyze/realTimeList',
    type: 'get',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            category: '2ewewew-extraction',
            recordTime: 1628494039,
            level: 1,
            ruleId: 201705,
            eventCount: 1,
            protocol: 'TCP',
            src: '192.168.2.1',
            srcPort: 2189,
            dst: '187.3.24.5',
            dstPort: 231,
            ruleAction: 'alert',
          },
          {
            category: '可怕的攻击类型',
            recordTime: 1628494039,
            level: 1,
            ruleId: 201705,
            eventCount: 221,
            protocol: 'TCP',
            src: '192.168.2.1',
            srcPort: 2189,
            dst: '187.3.24.5',
            dstPort: 231,
            ruleAction: 'alert',
          },
          {
            category: '2ewewew-extraction',
            recordTime: 1628494039,
            level: 1,
            ruleId: 201705,
            eventCount: 1,
            protocol: 'TCP',
            src: '192.168.2.1',
            srcPort: 2189,
            dst: '187.3.24.5',
            dstPort: 231,
            ruleAction: 'alert',
          },
          {
            category: '可怕的攻击类型',
            recordTime: 1628494039,
            level: 1,
            ruleId: 201705,
            eventCount: 221,
            protocol: 'TCP',
            src: '192.168.2.1',
            srcPort: 2189,
            dst: '187.3.24.5',
            dstPort: 231,
            ruleAction: 'alert',
          },
          {
            category: '2ewewew-extraction',
            recordTime: 1628494039,
            level: 1,
            ruleId: 201705,
            eventCount: 1,
            protocol: 'TCP',
            src: '192.168.2.1',
            srcPort: 2189,
            dst: '187.3.24.5',
            dstPort: 231,
            ruleAction: 'alert',
          },
          {
            category: '可怕的攻击类型',
            recordTime: 1628494039,
            level: 1,
            ruleId: 201705,
            eventCount: 221,
            protocol: 'TCP',
            src: '192.168.2.1',
            srcPort: 2189,
            dst: '187.3.24.5',
            dstPort: 231,
            ruleAction: 'alert',
          },
          {
            category: '2ewewew-extraction',
            recordTime: 1628494039,
            level: 1,
            ruleId: 201705,
            eventCount: 1,
            protocol: 'TCP',
            src: '192.168.2.1',
            srcPort: 2189,
            dst: '187.3.24.5',
            dstPort: 231,
            ruleAction: 'alert',
          },
          {
            category: '可怕的攻击类型',
            recordTime: 1628494039,
            level: 1,
            ruleId: 201705,
            eventCount: 221,
            protocol: 'TCP',
            src: '192.168.2.1',
            srcPort: 2189,
            dst: '187.3.24.5',
            dstPort: 231,
            ruleAction: 'alert',
          },
        ],
      };
    },
  },
  {
    url: '/platformLayout/publish',
    type: 'post',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
      };
    },
  },
  {
    url: '/platformLayout/query',
    type: 'get',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            id: 1,
            x: 1,
            y: 1,
            sizex: 6,
            sizey: 2,
            name: '设备告警统计',
            dataSourceType: 7, // 数据源类型
            chartType: 5, // 图标类型：如柱状图,折线图等
            borderType: 0, // 边框类型
            backgroundColor: '', // 背景色
          },
          {
            id: 2,
            x: 7,
            y: 1,
            sizex: 10,
            sizey: 4,
            name: '全网设备',
            dataSourceType: 0, // 数据源类型
            chartType: 2, // 图标类型：如柱状图,折线图等
            borderType: 0, // 边框类型
            backgroundColor: '', // 背景色
          },
          {
            id: 3,
            x: 17,
            y: 1,
            sizex: 6,
            sizey: 2,
            name: '各设备带宽利用率TOP5',
            dataSourceType: 0, // 数据源类型
            chartType: 6, // 图标类型：如柱状图,折线图等
            borderType: 0, // 边框类型
            backgroundColor: '', // 背景色
          },
          {
            id: 4,
            x: 1,
            y: 3,
            sizex: 6,
            sizey: 4,
            name: '告警牌',
            dataSourceType: 0, // 数据源类型
            chartType: 1, // 图标类型：如柱状图,折线图等
            borderType: 1, // 边框类型
            backgroundColor: '', // 背景色,
            titleType: -1,
          },
          {
            id: 5,
            x: 7,
            y: 5,
            sizex: 10,
            sizey: 2,
            name: '网元概况',
            dataSourceType: 0, // 数据源类型
            chartType: 7, // 图标类型：如柱状图,折线图等
            borderType: 0, // 边框类型
            backgroundColor: '', // 背景色
          },
          {
            id: 6,
            x: 17,
            y: 2,
            sizex: 6,
            sizey: 2,
            name: 'CPU/MEM平均利用率',
            dataSourceType: 0, // 数据源类型
            chartType: 3, // 图标类型：如柱状图,折线图等
            borderType: 0, // 边框类型
            backgroundColor: '', // 背景色
          },
          {
            id: 7,
            x: 17,
            y: 5,
            sizex: 6,
            sizey: 2,
            name: '无线终端品牌TOP5占比',
            dataSourceType: 0, // 数据源类型
            chartType: 4, // 图标类型：如柱状图,折线图等
            borderType: 0, // 边框类型
            backgroundColor: '', // 背景色
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/eventOverallAnalyze/3DMap',
    type: 'get',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            from: {
              regionId: null,
              regionName: '日本',
              regionNameAll: '日本',
              longitude: '139.710164',
              latitude: '35.706962',
            },
            to: {
              regionId: 520000,
              regionName: '重庆',
              regionNameAll: '重庆',
              longitude: '107.7539',
              latitude: '30.1904',
            },
          },
          {
            from: {
              regionId: null,
              regionName: '日本',
              regionNameAll: '日本',
              longitude: '139.710164',
              latitude: '35.706962',
            },
            to: {
              regionId: 520000,
              regionName: '重庆',
              regionNameAll: '重庆',
              longitude: '107.7539',
              latitude: '30.1904',
            },
          },
          {
            from: {
              regionId: null,
              regionName: '英国',
              regionNameAll: '英国',
              longitude: '-0.126608',
              latitude: '51.208425',
            },
            to: {
              regionId: 510000,
              regionName: '四川',
              regionNameAll: '四川省',
              longitude: '104.065735',
              latitude: '30.659462',
            },
          },
          {
            from: {
              regionId: null,
              regionName: '加拿大',
              regionNameAll: '加拿大',
              longitude: '-102.646409',
              latitude: '59.994255',
            },
            to: {
              regionId: 510000,
              regionName: '广州',
              regionNameAll: '广州',
              longitude: '113.5107',
              latitude: '23.2196',
            },
          },
          {
            from: {
              regionId: null,
              regionName: '美国',
              regionNameAll: '美国',
              longitude: '-100.696295',
              latitude: '33.679979',
            },
            to: {
              regionId: 510000,
              regionName: '广州',
              regionNameAll: '广州',
              longitude: '113.5107',
              latitude: '23.2196',
            },
          },
        ],
      };
    },
  },

  {
    // 大屏-僵尸主机概览
    url: '/dashboard/zombieHostAnalyze/overall',
    type: 'get',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          total: 61,
          zombieHostCount: 2,
          ctlHostCount: 3,
          lists: [
            {
              isOuterIp: 1,
              regionId: 510000,
              regionName: '四川省',
              longitude: '104.065735',
              latitude: '30.659462',
              ctlIp: '119.4.125.138',
              eventCount: 36,
            },
            {
              isOuterIp: 0,
              regionName: '四川省',
              longitude: '104.065735',
              latitude: '30.659462',
              ctlIp: '119.4.125.138',
              eventCount: 12,
            },
            {
              isOuterIp: 0,
              regionName: '四川省',
              longitude: '104.065735',
              latitude: '30.659462',
              ctlIp: '119.4.125.138',
              eventCount: 12,
            },
            {
              isOuterIp: 0,
              regionName: '四川省',
              longitude: '104.065735',
              latitude: '30.659462',
              ctlIp: '119.4.125.138',
              eventCount: 1,
            },
          ],
        },
      };
    },
  },
  {
    // /dashboard/flowAnalyze/overall
    url: '/dashboard/flowAnalyze/overall',
    type: 'get',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '流进',
            data: [
              {
                name: '14:46:00',
                value: 3396,
              },
              {
                name: '14:46:30',
                value: 31767619,
              },
            ],
          },
          {
            legend: '流出',
            data: [
              {
                name: '14:46:00',
                value: 3338,
              },
              {
                name: '14:46:30',
                value: 32336,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/overall',
    type: 'get',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          total: 1,
          highCount: 1,
          middleCount: 0,
          lowCount: 0,
          legends: [
            {
              legend: '攻击检测',
              data: [
                {
                  name: 12,
                  value: 1,
                },
              ],
            },
          ],
        },
      };
    },
  },
  {
    url: '/dashboard/attackDetectionAnalyze/statisticLevels',
    type: 'post',
    response: (_) => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '攻击检测级别分布',
            data: [
              {
                name: '高风险',
                value: 12,
              },
              {
                name: '中风险',
                value: 21,
              },
              {
                name: '低风险',
                value: 11,
              },
            ],
          },
        ],
      };
    },
  },
  // {
  //   url: '/dashboard/attackDetectionAnalyze/statisticRuleType',
  //   type: 'get',
  //   response: _ => {
  //     return {
  //       'code': 1,
  //       'msg': '操作成功',
  //       'data': [{
  //         'legend': '攻击事件类别分布',
  //         'data': [{
  //           'name': '12',
  //           'value': 1
  //         }]
  //       }]
  //     }
  //   } },
  {
    url: '/infoLink/listByKey',
    type: 'post',
    response: () => {
      return {
        code: 1,
        data: {
          total: 8,
          items: [
            {
              id: 1,
              status: 1,
              protocol: 'tcp',
              remark: '测试',
              recordTime: 'SSSS',
              srcIp: '1.1.1.1',
              srcPort: 90,
              dstIp: '1.1.1.1',
              dstPort: 90,
              srcNatIp: '1.1.1.1',
              srcNatPort: 30,
              dstNatIp: '1.1.1.1',
              dstNatPort: 100,
              pktsToserver: 100,
              pktsToclient: 100,
            },
            {
              id: 1,
              status: 0,
              protocol: 'tcp',
              remark: '测试',
              recordTime: 'SSSS',
              srcIp: '1.1.1.1',
              srcPort: 90,
              dstIp: '1.1.1.1',
              dstPort: 90,
              srcNatIp: '1.1.1.1',
              srcNatPort: 30,
              dstNatIp: '1.1.1.1',
              dstNatPort: 100,
              pktsToserver: 100,
              pktsToclient: 100,
            },
            {
              id: 1,
              status: 0,
              protocol: 'tcp',
              remark: '测试',
              recordTime: 'SSSS',
              srcIp: '1.1.1.1',
              srcPort: 90,
              dstIp: '1.1.1.1',
              dstPort: 90,
              srcNatIp: '1.1.1.1',
              srcNatPort: 30,
              dstNatIp: '1.1.1.1',
              dstNatPort: 100,
              pktsToserver: 100,
              pktsToclient: 100,
            },
            {
              id: 1,
              status: 1,
              protocol: 'tcp',
              remark: '测试',
              recordTime: 'SSSS',
              srcIp: '1.1.1.1',
              srcPort: 90,
              dstIp: '1.1.1.1',
              dstPort: 90,
              srcNatIp: '1.1.1.1',
              srcNatPort: 30,
              dstNatIp: '1.1.1.1',
              dstNatPort: 100,
              pktsToserver: 100,
              pktsToclient: 100,
            },
          ],
        },
      };
    },
  },
  // 连接排名查询接口
  {
    url: '/infoLinkNum/currentLinkRank',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          total: 3,
          items: [
            {
              recordTime: '2123425231',
              srcIp: '1.1.1.5',
              dstIp: '1.11.1.7',
              connectNum: 2,
              type: 3,
            },
            {
              recordTime: '2123425231',
              srcIp: '1.1.5.1',
              dstIp: '1.1.11.7',
              connectNum: 2,
              type: 3,
            },
            {
              recordTime: '2123425231',
              srcIp: '1.1.1.8',
              dstIp: '1.1.1.17',
              connectNum: 2,
              type: 3,
            },
          ],
        },
      };
    },
  },
  {
    url: '/infoLinkNum/getTop10',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          total: 10,
          items: [
            {
              recordTime: '2123425231',
              srcIp: '124.1.1.1',
              dstIp: '4.1.1.7',
              connectNum: 12,
              type: 3,
            },
            {
              recordTime: '2123425231',
              srcIp: '2.1.1.1',
              dstIp: '1.1.1.7',
              connectNum: 32,
              type: 3,
            },
            {
              recordTime: '2123425231',
              srcIp: '121.1.1.1',
              dstIp: '212.1.1.7',
              connectNum: 2,
              type: 1,
            },
          ],
        },
      };
    },
  },
  {
    url: '/dashboard/ccAnalyze/eventListDetail',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            isOuterIp: 1,
            regionId: 510000,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            hostIp: '119.4.125.138',
            eventCount: 1,
          },
          {
            isOuterIp: 0,
            regionId: 210000,
            regionName: '北京市',
            longitude: null,
            latitude: null,
            hostIp: '10.10.10.1',
            eventCount: 1,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/ccAnalyze/eventList',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            recordTime: 1628417462,
            url: 'http://www.baidu.com',
            urlId: 1,
            attackCount: 4,
            totalCount: 1245,
            allowedCount: 1000,
            blockCount: 245,
          },
          {
            recordTime: 1628417462,
            urlId: 1,
            url: 'http://www.baidu.com',
            attackCount: 4,
            totalCount: 1245,
            allowedCount: 1000,
            blockCount: 245,
          },
          {
            recordTime: 1628417462,
            urlId: 1,
            url: 'http://www.baidu.com',
            attackCount: 4,
            totalCount: 1245,
            allowedCount: 1000,
            blockCount: 245,
          },
          {
            recordTime: 1628417462,
            urlId: 1,
            url: 'http://www.baidu.com',
            attackCount: 4,
            totalCount: 1245,
            allowedCount: 1000,
            blockCount: 245,
          },
        ],
      };
    },
  },
  // {
  //   url: '/dashboard/ccAnalyze/clientTop',
  //   type: 'post',
  //   response:  => {
  //     return {
  //       'code': 1,
  //       'msg': '操作成功',
  //       'data': [{
  //         'legend': '客户端攻击Top5',
  //         'data': [{
  //           'name': '172.171.9.2',
  //           'value': 1762
  //         }, {
  //           'name': '172.171.9.3',
  //           'value': 234
  //         }, {
  //           'name': '172.171.9.4',
  //           'value': 123
  //         }]
  //       }]
  //     }
  //   }
  // },
  // {
  //   url: '/dashboard/ccAnalyze/serverTop',
  //   type: 'post',
  //   response:  => {
  //     return {
  //       'code': 1,
  //       'msg': '操作成功',
  //       'data': [{
  //         'legend': '服务端攻击Top5',
  //         'data': [{
  //           'name': '172.171.9.2',
  //           'value': 13
  //         }, {
  //           'name': '172.171.9.3',
  //           'value': 113
  //         }, {
  //           'name': '172.171.9.4',
  //           'value': 4345
  //         }]
  //       }]
  //     }
  //   }
  // },
  {
    url: '/dashboard/zombieHostAnalyze/zombieHostRankCtlDetail',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            isOuterIp: 1,
            regionId: 510000,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            ctlIp: '119.4.125.138',
            eventCount: 24,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/zombieHostAnalyze/zombieHostRankZombieDetail',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            zombieIp: '192.168.1.10',
            createTime: 1627892341,
            eventCount: 60,
          },
          {
            zombieIp: '192.168.1.9',
            createTime: 1627892340,
            eventCount: 1,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/zombieHostAnalyze/ctlHostRank',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            isOuterIp: 1,
            regionId: 510000,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            ctlIp: '119.4.125.138',
            eventCount: 36,
            zombieCount: 1,
          },
          {
            isOuterIp: 0,
            regionId: null,
            regionName: 'Canada',
            longitude: '104.065735',
            latitude: '30.659462',
            ctlIp: '10.9.129.19',
            eventCount: 24,
            zombieCount: 1,
          },
          {
            isOuterIp: 0,
            regionId: null,
            regionName: 'Isle of Man',
            longitude: null,
            latitude: null,
            ctlIp: '10.9.129.20',
            eventCount: 1,
            zombieCount: 1,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/zombieHostAnalyze/zombieHostRank',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            zombieIp: '192.168.1.10',
            createTime: 1627892341,
            eventCount: 60,
          },
          {
            zombieIp: '192.168.1.9',
            createTime: 1627892340,
            eventCount: 1,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/zombieHostAnalyze/zombieHostEventRank',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            ruleId: 12,
            ruleDescription: '22222',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '22222',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
          {
            ruleId: 12,
            ruleDescription: '规则描述',
            ctlHostCount: 2,
            zombieHostCount: 2,
            eventCount: 61,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/zombieHostAnalyze/zombieHostEventRankZombieDetail',
    type: 'post',
    response: () => {
      return {
        code: 1,
        data: [
          {
            zombieIp: '192.168.1.10',
            createTime: 1627892341,
            eventCount: 60,
          },
          {
            zombieIp: '192.168.1.9',
            createTime: 1627892340,
            eventCount: 1,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/zombieHostAnalyze/zombieHostEventRankCtlDetail',
    type: 'post',
    response: () => {
      return {
        code: 1,
        data: [
          {
            isOuterIp: 1,
            regionId: 510000,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            ctlIp: '119.4.125.138',
            eventCount: 36,
          },
          {
            isOuterIp: 0,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            ctlIp: '119.4.125.138',
            eventCount: 12,
          },
          {
            isOuterIp: 0,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            ctlIp: '119.4.125.138',
            eventCount: 12,
          },
          {
            isOuterIp: 0,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            ctlIp: '119.4.125.138',
            eventCount: 1,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/zombieHostAnalyze/zombieHostStatisticsOverview',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          eventCount: 23,
          allowCount: 48,
          blockCount: 12,
          ctlHostCount: 2,
          zombieHostCount: 2,
        },
      };
    },
  },
  {
    url: '/dashboard/zombieHostAnalyze/zombieHostStatisticsCtlHost',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            isOuterIp: 1,
            regionId: 510000,
            regionName: '四川省',
            longitude: '104.065735',
            latitude: '30.659462',
            ctlIp: 1996782986,
            eventCount: 36,
          },
          {
            isOuterIp: 0,
            regionId: null,
            regionName: '北京市',
            longitude: null,
            latitude: null,
            ctlIp: 168395027,
            eventCount: 600,
          },
          {
            isOuterIp: 0,
            regionId: null,
            regionName: '上海市',
            longitude: null,
            latitude: null,
            ctlIp: 168395028,
            eventCount: 900,
          },
          {
            isOuterIp: 0,
            regionId: null,
            regionName: '昆明市',
            longitude: null,
            latitude: null,
            ctlIp: 168395028,
            eventCount: 900,
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/zombieHostAnalyze/zombieHostStatisticsRules',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '攻击检测',
            data: [
              {
                name: '攻击类型服务',
                value: 50,
              },
              {
                name: '代码执行',
                value: 43,
              },
              {
                name: '溢出攻击',
                value: 21,
              },
              {
                name: '注入攻击',
                value: 62,
              },
              {
                name: '其他',
                value: 50,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/arpAnalyze/overall',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '次数',
            data: [
              {
                name: 'req_smac',
                value: 3,
              },
              {
                name: 'req_sip',
                value: 3,
              },
              {
                name: 'res_dmac',
                value: 3,
              },
              {
                name: 'res_dip',
                value: 3,
              },
              {
                name: 'res_sip',
                value: 3,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/arpAnalyze/srcIpAnalyze',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '次数',
            data: [
              {
                name: '10.11.182.202',
                value: 3,
              },
              {
                name: '10.10.162.137',
                value: 3,
              },
              {
                name: '10.10.194.196',
                value: 3,
              },
              {
                name: '10.11.13.91',
                value: 3,
              },
              {
                name: '10.11.144.190',
                value: 3,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/arpAnalyze/srcMacAnalyze',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '次数',
            data: [
              {
                name: 'd4:ee:7:1:3b:31',
                value: 909090,
              },
              {
                name: 'C4:ee:7:1:3b:31',
                value: 99090,
              },
              {
                name: 'A4:ee:7:1:3b:31',
                value: 90900,
              },
              {
                name: 'E4:ee:7:1:3b:31',
                value: 90990,
              },
              {
                name: '54:ee:7:1:3b:31',
                value: 9090,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/arpAnalyze/overallAnalyze',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '次数',
            data: [
              {
                name: '2021-08-16',
                value: 805290,
              },
              {
                name: '2021-08-17',
                value: 1374148,
              },
              {
                name: '2021-08-18',
                value: 1094266,
              },
              {
                name: '2021-08-19',
                value: 1340088,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/arpAnalyze/listAnalyze',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            recordTime: 1629096773,
            srcIp: '10.11.209.159',
            srcMac: 'AA:DD:CC:EE:00:99',
            eventCount: '86',
          },
          {
            recordTime: 1629097741,
            srcIp: '10.11.157.157',
            srcMac: null,
            eventCount: '80',
          },
          {
            recordTime: 1629115886,
            srcIp: '10.11.73.243',
            srcMac: null,
            eventCount: '79',
          },
          {
            recordTime: 1629098927,
            srcIp: '10.11.245.14',
            srcMac: null,
            eventCount: '79',
          },
        ],
      };
    },
  },
  // {
  //     url: '/dashboard/ddosAnalyze/overall',
  //     type: 'post',
  //     response:  => {
  //         return {
  //             'code': 1,
  //             'msg': '操作成功',
  //             'data': [{
  //                 'legend': '请求',
  //                 'data': [{
  //                     'name': '12::01:00',
  //                     'value': 1762
  //                 }, {
  //                     'name': '12::01:30',
  //                     'value': 234
  //                 }, {
  //                     'name': '12::02:00',
  //                     'value': 123
  //                 }]
  //             }, {
  //                 'legend': '拦截',
  //                 'data': [{
  //                     'name': '12::01:00',
  //                     'value': 1762
  //                 }, {
  //                     'name': '12::01:30',
  //                     'value': 234
  //                 }, {
  //                     'name': '12::02:00',
  //                     'value': 123
  //                 }]
  //             }]
  //         }
  //     }
  // },
  {
    url: '/BusinessPort/getAllLink',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            id: 11,
            linkName: '策略11',
          },
          {
            id: 22,
            linkName: '策略22',
          },
          {
            id: 33,
            linkName: '策略33',
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/sslAnalyze/overall',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '攻击类型',
            data: [
              {
                name: '攻击检测',
                value: 1762,
                id: 1,
              },
              {
                name: '僵尸主机',
                value: 234,
                id: 2,
              },
              {
                name: 'CC攻击',
                value: 123,
                id: 3,
              },
              {
                name: 'Ddos',
                value: 123,
                id: 4,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/sslAnalyze/eventType',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '攻击类型',
            data: [
              {
                name: '攻击检测',
                value: 1762,
                id: 1,
              },
              {
                name: '僵尸主机',
                value: 234,
                id: 2,
              },
              {
                name: 'CC攻击',
                value: 123,
                id: 3,
              },
              {
                name: 'Ddos',
                value: 123,
                id: 4,
              },
            ],
          },
          {
            legend: '安全事件',
            data: [
              {
                name: '木马病毒',
                value: 1762,
                pid: 1,
              },
              {
                name: '蠕虫病毒',
                value: 234,
                pid: 2,
              },
              {
                name: '恶意木马',
                value: 123,
                pid: 3,
              },
              {
                name: '恶意下载',
                value: 123,
                pid: 4,
              },
            ],
          },
        ],
      };
    },
  },
  {
    // 病毒检测
    url: '/dashboard/appAnalyze/appGroupFlowType',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            groupId: 16,
            groupName: '娱乐',
            groupFlow: 16,
            appFlow: [
              {
                name: '全民TV',
                value: 16,
              },
              {
                name: '全民k歌',
                value: 16,
              },
              {
                name: '酷我音乐',
                value: 16,
              },
            ],
          },
          {
            groupId: 14,
            groupName: '教育',
            groupFlow: 16,
            appFlow: [
              {
                name: '全民TV',
                value: 16,
              },
              {
                name: '全民k歌',
                value: 16,
              },
              {
                name: '酷我音乐',
                value: 16,
              },
            ],
          },
          {
            groupId: 13,
            groupName: '娱乐',
            groupFlow: 16,
            appFlow: [
              {
                name: '全民TV',
                value: 16,
              },
              {
                name: '全民k歌',
                value: 16,
              },
              {
                name: '酷我音乐',
                value: 16,
              },
            ],
          },
          {
            groupId: 11,
            groupName: '娱乐',
            groupFlow: 16,
            appFlow: [
              {
                name: '全民TV',
                value: 16,
              },
              {
                name: '全民k歌',
                value: 16,
              },
              {
                name: '酷我音乐',
                value: 16,
              },
            ],
          },
          {
            groupId: 10,
            groupName: '娱乐',
            groupFlow: 16,
            appFlow: [
              {
                name: '全民TV',
                value: 16,
              },
              {
                name: '全民k歌',
                value: 16,
              },
              {
                name: '酷我音乐',
                value: 16,
              },
            ],
          },
        ],
      };
    },
  },
  {
    // 沙箱
    url: '/dashboard/test/sandbox',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '协议',
            data: [
              {
                name: '行为分析',
                value: 762,
              },
              {
                name: '关联分析',
                value: 234,
              },
              {
                name: '防病毒引擎',
                value: 123,
              },
              {
                name: '动态行为鉴定器',
                value: 345,
              },
            ],
          },
        ],
      };
    },
  },
  {
    // 沙箱
    url: '/dashboard/sanBoxieAnalyze/fileType',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '威胁统计-沙箱',
            data: [
              {
                name: 'total',
                value: 23,
              },
              {
                name: 'abnormal',
                value: 21,
              },
              {
                name: 'normal',
                value: 2,
              },
            ],
          },
        ],
      };
    },
  },
  {
    // 沙箱
    url: '/dashboard/eventOverallAnalyze/hostEventTop',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '僵尸主机',
            data: [
              {
                name: '10.10.149.52',
                value: 4,
              },
              {
                name: '10.10.157.47',
                value: 1,
              },
              {
                name: '10.10.172.139',
                value: 2,
              },
              {
                name: '10.10.186.25',
                value: 2,
              },
              {
                name: '10.10.199.108',
                value: 1,
              },
              {
                name: '10.10.212.114',
                value: 3,
              },
              {
                name: '10.11.144.76',
                value: 3,
              },
              {
                name: '10.11.147.99',
                value: 3,
              },
              {
                name: '10.11.38.27',
                value: 5,
              },
              {
                name: '10.11.54.113',
                value: 1,
              },
            ],
          },
          {
            legend: '恶意加密流量',
            data: [
              {
                name: '10.10.149.52',
                value: 13,
              },
              {
                name: '10.10.157.47',
                value: 8,
              },
              {
                name: '10.10.172.139',
                value: 9,
              },
              {
                name: '10.10.186.25',
                value: 12,
              },
              {
                name: '10.10.199.108',
                value: 13,
              },
              {
                name: '10.10.212.114',
                value: 14,
              },
              {
                name: '10.11.144.76',
                value: 11,
              },
              {
                name: '10.11.147.99',
                value: 9,
              },
              {
                name: '10.11.38.27',
                value: 17,
              },
              {
                name: '10.11.54.113',
                value: 11,
              },
            ],
          },
          {
            legend: 'ARP攻击',
            data: [
              {
                name: '10.10.149.52',
                value: 1,
              },
              {
                name: '10.10.157.47',
                value: 3,
              },
              {
                name: '10.10.172.139',
                value: 8,
              },
              {
                name: '10.10.186.25',
                value: 3,
              },
              {
                name: '10.10.199.108',
                value: 4,
              },
              {
                name: '10.10.212.114',
                value: 4,
              },
              {
                name: '10.11.144.76',
                value: 3,
              },
              {
                name: '10.11.147.99',
                value: 3,
              },
              {
                name: '10.11.38.27',
                value: 4,
              },
              {
                name: '10.11.54.113',
                value: 4,
              },
            ],
          },
          {
            legend: 'DDOS',
            data: [
              {
                name: '10.10.149.52',
                value: 1,
              },
              {
                name: '10.10.157.47',
                value: 1,
              },
              {
                name: '10.10.172.139',
                value: 3,
              },
              {
                name: '10.10.186.25',
                value: 3,
              },
              {
                name: '10.10.199.108',
                value: 5,
              },
              {
                name: '10.10.212.114',
                value: 5,
              },
              {
                name: '10.11.144.76',
                value: 2,
              },
              {
                name: '10.11.147.99',
                value: 3,
              },
              {
                name: '10.11.38.27',
                value: 4,
              },
              {
                name: '10.11.54.113',
                value: 2,
              },
            ],
          },
          {
            legend: 'CC攻击',
            data: [
              {
                name: '10.10.149.52',
                value: 4,
              },
              {
                name: '10.10.157.47',
                value: 5,
              },
              {
                name: '10.10.172.139',
                value: 2,
              },
              {
                name: '10.10.186.25',
                value: 5,
              },
              {
                name: '10.10.199.108',
                value: 5,
              },
              {
                name: '10.10.212.114',
                value: 2,
              },
              {
                name: '10.11.144.76',
                value: 3,
              },
              {
                name: '10.11.147.99',
                value: 2,
              },
              {
                name: '10.11.38.27',
                value: 4,
              },
              {
                name: '10.11.54.113',
                value: 6,
              },
            ],
          },
          {
            legend: '攻击检测',
            data: [
              {
                name: '10.10.149.52',
                value: 4,
              },
              {
                name: '10.10.157.47',
                value: 1,
              },
              {
                name: '10.10.172.139',
                value: 2,
              },
              {
                name: '10.10.186.25',
                value: 2,
              },
              {
                name: '10.10.199.108',
                value: 2,
              },
              {
                name: '10.10.212.114',
                value: 4,
              },
              {
                name: '10.11.144.76',
                value: 3,
              },
              {
                name: '10.11.147.99',
                value: 1,
              },
              {
                name: '10.11.38.27',
                value: 4,
              },
              {
                name: '10.11.54.113',
                value: 2,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/threatIntelligenceAnalyze/threatType',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '威胁情报',
            data: [
              {
                name: '威胁IP',
                value: 1762,
              },
              {
                name: '威胁URL',
                value: 234,
              },
              {
                name: '威胁域名',
                value: 123,
              },
            ],
          },
        ],
      };
    },
  },
  {
    // 病毒检测
    url: '/dashboard/virusDetectAnalyze/virusTypeTop',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '协议',
            data: [
              {
                name: '木马程序',
                value: 1762,
              },
              {
                name: '挖矿',
                value: 234,
              },
              {
                name: '传奇大盗',
                value: 123,
              },
              {
                name: '灰鸽子',
                value: 123,
              },
              {
                name: 'ppp程序',
                value: 121,
              },
              {
                name: '22挖矿',
                value: 102,
              },
              {
                name: '大盗',
                value: 60,
              },
              {
                name: '22恶魔',
                value: 56,
              },
              {
                name: '坏蛋',
                value: 12,
              },
              {
                name: '特洛伊',
                value: 9,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/urlAnalyze/overall',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: {
          eventCount: 39000,
          alertCount: 39000,
          blockCount: 39000,
        },
      };
    },
  },
  {
    url: '/dashboard/ccAnalyze/overall',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: 'CC攻击趋势',
            data: [
              {
                name: '15:41:58',
                value: 1,
              },
              {
                name: '15:43:45',
                value: 2,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/ddosAnalyze/overall',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '协议',
            data: [
              {
                name: 'FMTS',
                value: 58898,
              },
              {
                name: 'YYDS',
                value: 52314,
              },
              {
                name: 'CCTS',
                value: 35689,
              },
              {
                name: 'PPPTTT',
                value: 32894,
              },
              {
                name: '搜索引擎',
                value: 22121,
              },
              {
                name: '电子邮件',
                value: 21021,
              },
              {
                name: '金融理财',
                value: 18220,
              },
              {
                name: '论坛微博',
                value: 15356,
              },
              {
                name: '数据传输',
                value: 11212,
              },
              {
                name: 'P2P应用',
                value: 10339,
              },
            ],
          },
        ],
      };
    },
  },
  {
    // 应用流量
    url: '/dashboard/appAnalyze/appFlowTop',
    type: 'get',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '协议',
            data: [
              {
                name: '视频流媒体',
                value: 58898,
              },
              {
                name: 'IM聊天',
                value: 52314,
              },
              {
                name: '购物娱乐',
                value: 35689,
              },
              {
                name: '网络游戏',
                value: 32894,
              },
              {
                name: '搜索引擎',
                value: 22121,
              },
              {
                name: '电子邮件',
                value: 21021,
              },
              {
                name: '金融理财',
                value: 18220,
              },
              {
                name: '论坛微博',
                value: 15356,
              },
              {
                name: '数据传输',
                value: 11212,
              },
              {
                name: 'P2P应用',
                value: 10339,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/sslAnalyze/trend',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '请求',
            data: [
              {
                name: '10:00:00',
                value: 1762,
              },
              {
                name: '10:00:30',
                value: 234,
              },
              {
                name: '10:01:00',
                value: 123,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/urlAnalyze/alertUrlTop',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '告警url排名top10',
            data: [
              {
                name: 'baidu.com',
                value: 1762,
              },
              {
                name: 'baidu.com',
                value: 234,
              },
              {
                name: 'baidu.com',
                value: 123,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/urlAnalyze/blockUrlTop',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '阻断url排名top10',
            data: [
              {
                name: '123.baidu.com',
                value: 1762,
              },
              {
                name: '111.baidu.com',
                value: 2134,
              },
              {
                name: '666.baidu.com',
                value: 1233,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/urlAnalyze/alertHostTop',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '告警主机排名top10',
            data: [
              {
                name: '1.1.1.1',
                value: 1762,
              },
              {
                name: '1.1.1.2',
                value: 234,
              },
              {
                name: '1.1.1.3',
                value: 123,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/urlAnalyze/blockHostTop',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '阻断主机排名top10',
            data: [
              {
                name: '1.1.1.1',
                value: 1762,
              },
              {
                name: '1.1.1.2',
                value: 234,
              },
              {
                name: '1.1.1.125',
                value: 123,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/urlAnalyze/blockUrlType',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '阻断URL分类',
            data: [
              {
                name: '1.1.1.1',
                value: 1762,
              },
              {
                name: '1.1.1.2',
                value: 234,
              },
              {
                name: '1.1.1.3',
                value: 123,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/urlAnalyze/alertUrlType',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '告警URL分类',
            data: [
              {
                name: 'aaaa',
                value: 1762,
              },
              {
                name: 'ssss',
                value: 234,
              },
              {
                name: 'eeee',
                value: 123,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/ccAnalyze/clientTop',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '次数',
            data: [
              {
                name: '119.3.125.194',
                value: 4,
                id: 1,
              },
              {
                name: '119.3.125.175',
                value: 3,
                id: 2,
              },
              {
                name: '119.3.125.147',
                value: 3,
                id: 3,
              },
              {
                name: '119.3.125.167',
                value: 3,
                id: 4,
              },
              {
                name: '119.3.125.211',
                value: 3,
                id: 5,
              },
            ],
          },
          {
            legend: '次数',
            data: [
              {
                name: 'http://c.bianch12eng.net2',
                value: 1,
                pid: 1,
              },
              {
                name: 'http://c.bia222ncheng.net1',
                value: 1,
                pid: 1,
              },
              {
                name: 'http://c.bi333ancheng.net15',
                value: 1,
                pid: 1,
              },
              {
                name: 'http://c.b2i344ancheng.net5',
                value: 1,
                pid: 1,
              },
              {
                name: 'http://c.biancheng.net10',
                value: 1,
                pid: 2,
              },
              {
                name: 'http://c.bi2ancheng.net14',
                value: 1,
                pid: 2,
              },
              {
                name: 'http://c.b2ianc555heng.net5',
                value: 1,
                pid: 2,
              },
              {
                name: 'http://c.bian444cheng.net6',
                value: 1,
                pid: 3,
              },
              {
                name: 'http://c.1bi44a4ncheng.net7',
                value: 1,
                pid: 3,
              },
              {
                name: 'http://c.bianc4444heng.net18',
                value: 1,
                pid: 3,
              },
              {
                name: 'http://c.bianc44heng.net19',
                value: 1,
                pid: 4,
              },
              {
                name: 'http://c.b2ianch444eng.net8',
                value: 1,
                pid: 4,
              },
              {
                name: 'http://c.bianch44eng.net2119',
                value: 1,
                pid: 4,
              },
              {
                name: 'http://c.bian44cheng.net110',
                value: 1,
                pid: 5,
              },
              {
                name: 'http://c.bia224ncheng.net1611',
                value: 1,
                pid: 5,
              },
              {
                name: 'http://c.biancheng.net1119',
                value: 1,
                pid: 5,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/ccAnalyze/serverTop',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '次数',
            data: [
              {
                name: '119.3.125.194',
                value: 4,
                id: 1,
              },
              {
                name: '119.3.125.175',
                value: 3,
                id: 2,
              },
              {
                name: '119.3.125.147',
                value: 3,
                id: 3,
              },
              {
                name: '119.3.125.167',
                value: 3,
                id: 4,
              },
              {
                name: '119.3.125.211',
                value: 3,
                id: 5,
              },
            ],
          },
          {
            legend: '次数',
            data: [
              {
                name: 'http://c.bia22ncheng.net2',
                value: 1,
                pid: 1,
              },
              {
                name: 'http://c.b22iancheng.net1',
                value: 1,
                pid: 1,
              },
              {
                name: 'http://c.biancheng.net15',
                value: 1,
                pid: 1,
              },
              {
                name: 'http://c1.biancheng.net5',
                value: 1,
                pid: 1,
              },
              {
                name: 'http://c.b1i1ancheng.net10',
                value: 1,
                pid: 2,
              },
              {
                name: 'http://c.b2iancheng.net14',
                value: 1,
                pid: 2,
              },
              {
                name: 'http://c.bia12ncheng.net5',
                value: 1,
                pid: 2,
              },
              {
                name: 'http://c.bi1a222ncheng.net6',
                value: 1,
                pid: 3,
              },
              {
                name: 'http://c.bia212ncheng.net7',
                value: 1,
                pid: 3,
              },
              {
                name: 'http://c.bianc22heng.net115',
                value: 1,
                pid: 3,
              },
              {
                name: 'http://c.biancheng.net1115',
                value: 1,
                pid: 4,
              },
              {
                name: 'http://c.biancheng.net2228',
                value: 1,
                pid: 4,
              },
              {
                name: 'http://c.biancheng.net219',
                value: 1,
                pid: 4,
              },
              {
                name: 'http://c.bian21cheng.net10',
                value: 21,
                pid: 5,
              },
              {
                name: 'http://c.biancheng.net1226',
                value: 1,
                pid: 5,
              },
              {
                name: 'http://c.biancheng.net12319',
                value: 1,
                pid: 5,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/ccAnalyze/urlStatistic',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '警告数',
            data: [
              {
                name: 'http://c.biancheng.net0',
                value: 52,
              },
              {
                name: 'http://c.biancheng.net1',
                value: 10,
              },
              {
                name: 'http://c.biancheng.net2',
                value: 52,
              },
              {
                name: 'http://c.biancheng.net3',
                value: 120,
              },
              {
                name: 'http://c.biancheng.net4',
                value: 52,
              },
              {
                name: 'http://c.biancheng.net5',
                value: 30,
              },
              {
                name: 'http://c.biancheng.net6',
                value: 52,
              },
              {
                name: 'http://c.biancheng.net7',
                value: 104,
              },
              {
                name: 'http://c.biancheng.net8',
                value: 52,
              },
              {
                name: 'http://c.biancheng.net9',
                value: 104,
              },
            ],
          },
          {
            legend: '阻断数',
            data: [
              {
                name: 'http://c.biancheng.net0',
                value: 20,
              },
              {
                name: 'http://c.biancheng.net1',
                value: 52,
              },
              {
                name: 'http://c.biancheng.net2',
                value: 30,
              },
              {
                name: 'http://c.biancheng.net3',
                value: 52,
              },
              {
                name: 'http://c.biancheng.net4',
                value: 50,
              },
              {
                name: 'http://c.biancheng.net5',
                value: 52,
              },
              {
                name: 'http://c.biancheng.net6',
                value: 60,
              },
              {
                name: 'http://c.biancheng.net7',
                value: 52,
              },
              {
                name: 'http://c.biancheng.net8',
                value: 80,
              },
              {
                name: 'http://c.biancheng.net9',
                value: 52,
              },
            ],
          },
          {
            legend: '攻击者数',
            data: [
              {
                name: 'http://c.biancheng.net0',
                value: 138,
              },
              {
                name: 'http://c.biancheng.net1',
                value: 39,
              },
              {
                name: 'http://c.biancheng.net2',
                value: 43,
              },
              {
                name: 'http://c.biancheng.net3',
                value: 140,
              },
              {
                name: 'http://c.biancheng.net4',
                value: 40,
              },
              {
                name: 'http://c.biancheng.net5',
                value: 73,
              },
              {
                name: 'http://c.biancheng.net6',
                value: 42,
              },
              {
                name: 'http://c.biancheng.net7',
                value: 242,
              },
              {
                name: 'http://c.biancheng.net8',
                value: 37,
              },
              {
                name: 'http://c.biancheng.net9',
                value: 452,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/arpAnalyze/targetIpAnalyze',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '次数',
            data: [
              {
                name: '10.11.182.202',
                value: 11,
              },
              {
                name: '10.10.162.137',
                value: 30,
              },
              {
                name: '10.10.194.196',
                value: 13,
              },
              {
                name: '10.11.13.91',
                value: 23,
              },
              {
                name: '10.11.144.190',
                value: 13,
              },
            ],
          },
        ],
      };
    },
  },
  {
    url: '/dashboard/arpAnalyze/targetMacAnalyze',
    type: 'post',
    response: () => {
      return {
        code: 1,
        msg: '操作成功',
        data: [
          {
            legend: '次数',
            data: [
              {
                name: 'd4:ee:7:1:3b:31',
                value: 23,
              },
              {
                name: 'd4:ee:7:1:3b:31',
                value: 23,
              },
              {
                name: 'd4:ee:7:1:3b:31',
                value: 13,
              },
              {
                name: '10.11.13.91',
                value: 30,
              },
              {
                name: '10.11.144.190',
                value: 3,
              },
            ],
          },
        ],
      };
    },
  },
];
